import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import router from './router'

import { useElementPlus } from "./plugins/element-plus";
import clipboard, { $clipboard } from './plugins/clipboard';

import 'element-plus/dist/index.css'
import './style/common.less'

const app = createApp(App)

app.config.globalProperties.$clipboard = $clipboard;
app.directive('clipboard', clipboard);

app.use(createPinia())
app.use(router).use(useElementPlus)
app.mount('#app')
